package com.xueyu.domain.drug;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
@Data
@TableName("drug")
//药品信息
public class drug implements Serializable {
    //药品id
    @TableId("DrugID")
    private int DrugID;
        //药品名称
    @TableField("DrugName")
    private String DrugName;
    //药品图片
    @TableField("DrugPic")
    private String DrugPic;
    //药品分类
    @TableField("DrugF")
    private String DrugF;
    //药品规格
    @TableField("style")
    private String style;
    //供应商名称
    @TableField("supplier")
    private String supplier;
    //批准文号
    @TableField("DrugP")
    private String DrugP;
    //药品描述
    @TableField("DrugM")
    private String DrugM;
    //价格
    @TableField("price")
    private float price;
    //创建时间
    @TableField("ctime")
    private String ctime;

//更新时间
    @TableField("Gtime")
    private String Gtime;

    @TableField(exist = false)
    private int prodcount;//药品数量

    @TableField(exist = false)
    private String p;//分类
    @TableField(exist = false)
    private String G;//供应商
}
